package com.xzm.project;
import android.util.ArrayMap;
public class TestArrayMap {
    public static void main(String[] args) {
        long startTime = System.currentTimeMillis();
        ArrayMap<String, Object> arrayMap = new ArrayMap<>();
        for (int i = 0; i < 10000000; i++) {
            arrayMap.put("数据"+String.valueOf(i), i);
        }
//        for (int i = 0; i < stringLinkedList.size(); i++) {
//            System.out.println(stringLinkedList.get(i));
//        }
        long endTime = System.currentTimeMillis();
        System.out.println("耗时="+ String.valueOf(endTime-startTime));

    }

}
